<UserControl x:Class="GeniusTetris.Dialogs.MessageDlgUC"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Name="MessageDlg">
  <Grid>
    <Grid.RowDefinitions>
      <RowDefinition />
      <RowDefinition Height="30"/>
      <RowDefinition Height="10"/>
    </Grid.RowDefinitions>
    <TextBlock Text="{Binding ElementName='MessageDlg', Path=Message}" Grid.Row="0" 
               FontSize="15"
               HorizontalAlignment="Center"
               VerticalAlignment="Center"
               />
    <StackPanel HorizontalAlignment="Center" Orientation="Horizontal" Grid.Row="1">
      <Button Name="bOk" Content="{Binding ElementName='MessageDlg', Path=YesText}" Width="75" Click="YesClick" Padding="10,0,10,0"/>
      <Button Name="bCancel" Content="{Binding ElementName='MessageDlg', Path=NoText}" Width="75" Click="NoClick" Padding="10,0,10,0"/>
    </StackPanel>
  </Grid>
</UserControl>
